package com.atguigu.gmall.product.vo;

import com.atguigu.gmall.product.eneity.SkuInfo;
import com.atguigu.gmall.product.eneity.SpuSaleAttr;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuDetailVo {

    private categoryView categoryView;
    private SkuInfo skuInfo;
    private BigDecimal price;
    private List<SpuSaleAttr> spuSaleAttrList;
    private String valuesJson;


    @Data
    public static  class categoryView{

        private Long category1Id;
        private String category1Name;
        private Long category2Id;
        private String category2Name;
        private Long category3Id;
        private String category3Name;
    }
}
